<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>日志管理中心 - 线框图原型</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      background: #f6f7fb;
      font-family: Arial, sans-serif;
    }
    .main {
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 0 0 0;
    }
    .header {
      background: linear-gradient(90deg, #a084ee 0%, #6a9cfb 100%);
      color: #fff;
      border-radius: 18px;
      padding: 32px 32px 24px 32px;
      margin-bottom: 24px;
      font-size: 2rem;
      font-weight: bold;
      position: relative;
    }
    .action-bar {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      margin-bottom: 16px;
    }
    .btn {
      background: #fff;
      color: #6a9cfb;
      border: 1.5px solid #a084ee;
      border-radius: 8px;
      padding: 8px 18px;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }
    .btn-danger {
      background: #f56c6c;
      color: #fff;
      border: none;
    }
    .filter-section {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(80, 60, 180, 0.06);
      padding: 24px;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .filter-input, .filter-select {
      padding: 8px 12px;
      border: 1px solid #e0e0e0;
      border-radius: 6px;
      font-size: 1rem;
      background: #f6f7fb;
    }
    .log-type-row {
      display: flex;
      gap: 24px;
      margin-bottom: 24px;
      justify-content: center;
    }
    .log-type-card {
      flex: 1;
      min-width: 180px;
      background: linear-gradient(90deg, #ff6a6a 0%, #ffb86c 100%);
      color: #fff;
      border-radius: 18px;
      padding: 32px 24px;
      text-align: center;
      font-size: 1.5rem;
      font-weight: bold;
      box-shadow: 0 2px 8px rgba(80, 60, 180, 0.06);
    }
    .log-type-card.warn {
      background: linear-gradient(90deg, #ffb86c 0%, #ffe066 100%);
      color: #b86c00;
    }
    .log-type-card.info {
      background: linear-gradient(90deg, #6a9cfb 0%, #3e8cf8 100%);
    }
    .log-type-card.debug {
      background: linear-gradient(90deg, #3ecf8e 0%, #6a9cfb 100%);
    }
    .table-section {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(80, 60, 180, 0.06);
      padding: 24px;
      margin-bottom: 24px;
    }
    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 12px;
    }
    th, td {
      border: 1px solid #e0e0e0;
      padding: 10px 8px;
      text-align: left;
      font-size: 1rem;
    }
    th {
      background: #f6f7fb;
      font-weight: bold;
    }
    .table-actions button {
      margin-right: 8px;
      padding: 4px 10px;
      border-radius: 4px;
      border: none;
      font-size: 0.95rem;
      cursor: pointer;
      background: #a084ee;
      color: #fff;
    }
    .pagination {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      color: #888;
      font-size: 0.98rem;
    }
  </style>
</head>
<body>
  <div class="main">
    <div class="header">
      日志管理中心
      <div class="action-bar">
        <button class="btn">刷新</button>
        <button class="btn btn-danger">清空日志</button>
      </div>
    </div>
    <div class="filter-section">
      <select class="filter-select">
        <option>全部级别</option>
      </select>
      <span>时间范围</span>
      <input class="filter-input" type="date" />
      <span>至</span>
      <input class="filter-input" type="date" />
      <input class="filter-input" type="text" placeholder="搜索日志内容" style="flex:1;min-width:200px;" />
      <button class="btn">筛选</button>
      <button class="btn">重置</button>
    </div>
    <div class="log-type-row">
      <div class="log-type-card">错误日志</div>
      <div class="log-type-card warn">警告日志</div>
      <div class="log-type-card info">信息日志</div>
      <div class="log-type-card debug">调试日志</div>
    </div>
    <div class="table-section">
      <div style="font-size:1.3rem;font-weight:bold;margin-bottom:12px;">日志记录</div>
      <table>
        <thead>
          <tr>
            <th>#</th>
            <th>时间</th>
            <th>级别</th>
            <th>内容</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>1</td>
            <td>2025-07-29 17:10:00</td>
            <td>错误</td>
            <td>系统异常</td>
            <td class="table-actions"><button>查看</button></td>
          </tr>
          <tr>
            <td>2</td>
            <td>2025-07-29 17:09:00</td>
            <td>信息</td>
            <td>用户登录</td>
            <td class="table-actions"><button>查看</button></td>
          </tr>
        </tbody>
      </table>
      <div class="pagination">
        Total 13433&nbsp;&nbsp; 10/page&nbsp;&nbsp; <span style="background:#a084ee;color:#fff;padding:2px 8px;border-radius:4px;">1</span> 2 3 ... 1344
      </div>
    </div>
  </div>
</body>
</html>
